﻿

using System;

namespace élénkPróbája
{
    public interface IConfigurable<TConfiguration, out TNext>
    {
        /// <summary>
        /// Configures the current object.
        /// </summary>
        /// <param name="configurator">Action to configure the object.</param>
        /// <returns></returns>
        TNext Configure(Action<TConfiguration> configurator);
    }
}